package com.lmu.travel.entity;

import java.io.Serializable;

/**
 * @author liuxuhuang
 * @className: ToEmail
 * @description: 邮件发送内容封装
 * @email liuxuhuang3970@qq.com
 * @date 2021/6/27 20:25
 * @version：1.0
 */
public class ToEmail implements Serializable {
    /**
     * 邮件接收方
     */
    private String receiver;
    /**
     * 邮件主题
     */
    private String subject;
    /**
     * 邮件内容
     */
    private String content;

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public ToEmail() {
    }

    public ToEmail(String receiver, String subject, String content) {
        this.receiver = receiver;
        this.subject = subject;
        this.content = content;
    }

    @Override
    public String toString() {
        return "ToEmail{" +
                "receiver=" + receiver +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
